//
//  MyDataService.h
//  01 NavigationTask
//
//  Created by wei.chen on 14-9-5.
//  Copyright (c) 2014年 www.iphonetrain.com 无限互联3G学院. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

@interface MyDataService : NSObject

//普通的请求
//+ (void)requestURL:(NSString *)urlstring
//        httpMethod:(NSString *)method
//            params:(NSMutableDictionary *)params
//       complection:(void(^)(id result))block;


//上传文件的请求
+ (AFHTTPRequestOperation *)requestAFURL:(NSString *)urlstring
          httpMethod:(NSString *)method
              params:(NSMutableDictionary *)params
                data:(NSMutableDictionary *)datas
         complection:(void(^)(id result))block;


@end
